import { RunnablePassthrough } from "@langchain/core/runnables";

const passthrough = new RunnablePassthrough();

// 相当于输入什么，输出就是什么
const result = await passthrough.invoke("Hello, LangChain!");
console.log(result); // 输出：Hello, LangChain!
